package com.yxh.util;

/**
 * Created by asus on 2018/6/26.
 */
public enum TaskCode {
    CHANGE_KEY(1,"changeProcess"),
    HIDE_KEY(2,"hideProcess"),
    FAULT_KEY(3,"faultProcess"),
    SUPER_KEY(4,"supervisionProcess"),
    MAKE_KEY(5,"makingsProcess"),
    STATE_0(0,"整改完成后状态"),
    STATE_1(1,"审核无缺陷状态"),
    STATE_2(2,"审核有缺陷状态"),
    STATE_3(3,"不存在受阻"),
    STATE_4(4,"无需变更"),

    STATE_MEG1(1,"无缺陷"),
    STATE_MEG2(2,"有缺陷"),
    STATE_MEG3(3,"已整改"),
    STATE_MEG4(4,"已完成"),
    STATE_MEG5(5,"整改中"),
    STATE_MEG6(6,"待确认"),
    STATE_MEG7(7,"缺陷整改中"),
    STATE_MEG8(8,"缺陷审核中"),
    STATE_MEG9(9,"审核无缺陷"),
    STATE_MEG10(10,"审核有缺陷"),
    STATE_MEG11(11,"整改提交"),
    STATE_MEG12(12,"业主项目部审核"),
    STATE_MEG13(13,"整改部门整改"),
    STATE_MEG14(14,"变更审核中"),
    STATE_MEG15(15,"执行变更中"),
    STATE_MEG16(16,"验收中"),
    STATE_MEG17(17,"监理审核"),
    STATE_MEG18(18,"监理审核中"),
    STATE_MEG19(19,"准备完成"),
    STATE_MEG20(20,"整理中"),
    STATE_MEG21(21,"审核中"),
    STATE_MEG22(22,"准备中"),

    OPERATION_MEG1(1,"创建设计变更"),
    OPERATION_MEG2(2,"受阻审核"),
    OPERATION_MEG3(3,"设计变更审核"),
    OPERATION_MEG4(4,"执行设计变更"),

    OPERATION_MEG7(7,"创建缺陷"),

    OPERATION_MEG5(5,"创建隐蔽工程"),
    OPERATION_MEG6(6,"隐蔽工程验收"),

    OPERATION_MEG8(8,"档案发起"),
    OPERATION_MEG9(9,"片区工程处准备材料"),
    OPERATION_MEG10(10,"工程公司档案管理部整理"),
    OPERATION_MEG11(11,"配改办档案管理员审核"),

    OPERATION_COMMENT1(1,"录入设计变更"),
    OPERATION_COMMENT2(2,"存在受阻"),
    OPERATION_COMMENT3(3,"需变更"),
    OPERATION_COMMENT4(4,"不存在受阻"),
    OPERATION_COMMENT5(5,"执行变更完成"),
    OPERATION_COMMENT6(6,"无需变更"),


    OPERATION_COMMENT8(8,"合格"),
    OPERATION_COMMENT9(9,"不合格"),
    OPERATION_COMMENT10(10,"整改完成"),
    OPERATION_COMMENT7(7,"录入缺陷"),
    OPERATION_COMMENT11(11,"消息录入"),
    OPERATION_COMMENT12(12,"材料准备完成"),
    OPERATION_COMMENT13(13,"审核通过"),
    OPERATION_COMMENT15(15,"变更录入"),
    OPERATION_COMMENT14(14,"审核不通过");



    private int value;
    private String desc;

    TaskCode(int value, String desc) {
        this.setValue(value);
        this.setDesc(desc);
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
